package com.dong.homework;

public class ScoreTest {
    public static void main(String[] args) {
        Score score = new Score();
        System.out.println(score.toString());
        int chinese = score.getChinese();
        int math = score.getMath();
        int enlish = score.getEnlish();
        int sum=chinese+math+enlish;
        System.out.println("总分:"+sum);
        System.out.println("平均分:"+sum/3);

    }
}
